//
//  QIWebViewController.swift
//  MLYY
//
//  Created by qinjiangtao on 2023/10/31.
//

import UIKit
import WebKit

class QIWebViewController: UIViewController {

    var urlStr = ""
    var titleName = ""
    
    override func viewDidLoad() {
        super.viewDidLoad()
        title = titleName
        
        let webView = WKWebView(frame: CGRect(x: 0, y: NAVGATION_ADD_STATUSBAR_HEIGHT, width: SCREEN_WIDTH, height: SCREEN_HEIGHT - NAVGATION_ADD_STATUSBAR_HEIGHT))
        webView.allowsBackForwardNavigationGestures = true
        view.addSubview(webView)
        
        let request = URLRequest(url: URL(string: urlStr)!)
        webView.load(request)
    }
    


}
